<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="com.yztc.rc.api.framework.ContextFactory" %>
<%
String path = request.getContextPath();
request.getSession().setAttribute(ContextFactory.FRAMEWORKSESSIONKEY,null); 
session.removeAttribute(ContextFactory.FRAMEWORKSESSIONKEY);
session.invalidate(); 
ContextFactory.clearContext();
String url=null;//request.getParameter("loginPage");
if(url==null){
	url="/cms";
}
%>
<script>
 window.location.href='<%=com.yztc.rc.api.framework.ContextFactory.SSOLOGOUTURL%>?loginPage='+encodeURIComponent('<%=url %>');
 </script>